//
//  CYAppealVC.m
//  CreditAddressBook
//
//  Created by LE on 16/1/6.
//  Copyright © 2016年 Lee. All rights reserved.
//

#import "CYAppealVC.h"
#import "CYAppealTVC.h"
#import "CYJumpsTool.h"

@interface CYAppealVC ()

@end

@implementation CYAppealVC

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setupTable];
}

- (void)setupTable {
    CYAppealTVC *appeal = [CYAppealTVC le_loadFromStoryBoard:[CYJumpsTool mainSB]];
    [self addChildViewController:appeal];
    [self.view addSubview:appeal.view];
    [appeal didMoveToParentViewController:self];
    appeal.defrId = self.defrId;
    //提交按钮
    UIBarButtonItem *submit = [[UIBarButtonItem alloc] initWithTitle:@"提交" style:UIBarButtonItemStylePlain target:appeal action:@selector(submitBtn)];
    self.navigationItem.rightBarButtonItem = submit;
    
    self.title = @"申诉";
}
@end
